home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Whiteline: delta
/
whiteline CD Series - delta.iso
/
tex
/
style
/
misc
/
zmacros.tex
/
node3_mn.html
< prev
next >
Wrap
Text File
|
1995-11-25
|
4KB
|
87 lines
<H1><A ID="SECTION00030000000000000000">
The care and feeding of schemas</A>
</H1>
<P>
To print the schema
<BR>
<tex2html_image_mark>#schema17#
<BR>
you just say
<BLOCKQUOTE>
</BLOCKQUOTE><PRE><tex2html_verbatim_mark>verbatim9#</PRE><BLOCKQUOTE>
</BLOCKQUOTE>
What could be simpler?
If you want a schema with no name, just a horizontal rule at the top,
use the <tex2html_verb_mark>1<tex2html_verb_mark> environment instead.
In fact, here is an example:
If you like the name set flush left, you can use the <tex2html_verb_mark>2<tex2html_verb_mark>
declaration to get the following effect:
<BR>
<tex2html_image_mark>#leftschemas24#
<BR>
As well as these, there's <tex2html_verb_mark>3<tex2html_verb_mark>
for axiomatic definitions: to print
<BR>
<tex2html_image_mark>#axdef29#
<BR>
you say
<BLOCKQUOTE>
</BLOCKQUOTE><PRE><tex2html_verbatim_mark>verbatim10#</PRE><BLOCKQUOTE>
</BLOCKQUOTE>
The strange hint <tex2html_verb_mark>4<tex2html_verb_mark> in this example makes the corresponding
line in the output have one helping of indentation.
As things get more nested, you can say <tex2html_verb_mark>5<tex2html_verb_mark>, <tex2html_verb_mark>6<tex2html_verb_mark>, and so on.
But if you should ever get beyond <tex2html_verb_mark>7<tex2html_verb_mark>, you'll need to use braces
around the argument: <tex2html_verb_mark>8<tex2html_verb_mark>, and you'd better look for some way
to simplify your specification!
The syntax of these little tab marks is a bit strange, I'm afraid,
but I find them more convenient than other possibilities. They're short,
and they don't get longer as the tabbing gets deeper, within reason,
so they can be tucked in neatly on the left, well away from the
maths.
The size of `helping' you get with <tex2html_verb_mark>9<tex2html_verb_mark> is a parameter
<tex2html_verb_mark>10<tex2html_verb_mark>, and the default is 2em.
<P>
Two other things to notice here are the little space between the
∀ and the following <I>S</I>, and the use of <tex2html_verb_mark>11<tex2html_verb_mark> for
the bullet <tex2html_image_mark>#tex2html_wrap_inline216#⇧.
These macros produce symbols of the right type for T<SMALL>E</SMALL>X's spacing
rules to insert spaces automatically.
<P>
For generic definitions, there's the <tex2html_verb_mark>12<tex2html_verb_mark> environment:
you can get a neat double-topped box like
<BR>
<tex2html_image_mark>#gendef35#
<BR>
by typing
<BLOCKQUOTE>
</BLOCKQUOTE><PRE><tex2html_verbatim_mark>verbatim11#</PRE><BLOCKQUOTE>
</BLOCKQUOTE>
You should take note of the thin space I've inserted between <I>map</I> and <I>f</I>
in this example: if this is omitted, the input <tex2html_verb_mark>13<tex2html_verb_mark> gives
<I>mapf</I>, because T<SMALL>E</SMALL>X ignores spaces in math mode.
There's also a <tex2html_verb_mark>14<tex2html_verb_mark> environment for generic definitions with no
parameters.
<P>
If a schema or other box contains more than one predicate below the
line, it often looks better to add a tiny vertical space between
them, as in this example:
<BR>
<tex2html_image_mark>#schema42#
<BR>
This is done with the command <tex2html_verb_mark>15<tex2html_verb_mark>, which behaves syntactically
like <tex2html_verb_mark>16<tex2html_verb_mark>:
<BLOCKQUOTE>
</BLOCKQUOTE><PRE><tex2html_verbatim_mark>verbatim12#</PRE><BLOCKQUOTE>
</BLOCKQUOTE>
Note that <tex2html_verb_mark>17<tex2html_verb_mark> is provided <#49#><EM>instead</EM><#49#> of the
optional argument to <tex2html_verb_mark>18<tex2html_verb_mark>
which L<SUP><SMALL>A</SMALL></SUP>T<SMALL>E</SMALL>X provides in other environments.
<P>